package com.hwtx.form.ext;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author baomidou
 * @since 2025-11-28
 */
@Getter
@Setter
@ToString
@TableName("chart_config")
public class ChartConfig implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图形类型
     */
    @TableField("c_type")
    private Integer cType;

    /**
     * 配置的key
     */
    @TableField("c_key")
    private String cKey;

    /**
     * 配置属性值
     */
    @TableField("c_value")
    private String cValue;

    /**
     * 实例
     */
    @TableField("c_instance")
    private String cInstance;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人ID
     */
    @TableField(value = "create_id", fill = FieldFill.INSERT)
    private String createId;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人ID
     */
    @TableField(value = "update_id", fill = FieldFill.UPDATE)
    private String updateId;
}
